package com.ssm.service;

import com.ssm.pojo.Score;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ScoreService {
    //查询所有
    List<Score> selectAll();
    //根据id来查询数据
    Score selectById(int id);
    //插入一条数据
    int insertOneData(Score score);
    //根据id删除一条数据
    void deleteById(int id);
    //根据id更新一条数据
    int updateById(int score,int id);
}
